package mvc.core;

import java.lang.reflect.Method;

/**
 * 请求URI路径和Action方法的一一映射
 * 
 * @author liuzy
 * @version 2015年5月16日
 */
public class ActionMapping {
	private final String path;
	private final Class<?> actionClass;
	private final Method method;
	public ActionMapping(String path, Class<?> actionClass, Method method) {
		this.path = path;
		this.actionClass = actionClass;
		this.method = method;
	}
	protected String getPath() {
		return path;
	}
	protected Class<?> getActionClass() {
		return actionClass;
	}
	protected Method getMethod() {
		return method;
	}
}
